//
//  JSFileUtils.h
//  FastTest
//
//  Created by Song Lanlan on 13-9-27.
//  Copyright (c) 2013年 tiantian. All rights reserved.
//

#import <Foundation/Foundation.h>

#define kRegex_FileExtension @"\\.[^\\.]+"

@interface JSFileUtils : NSObject

+(void)iterateFileInDir:(NSString*)dirPath doWithFile:(void (^)(NSString *filePath))block;

@end


@interface NSURL(JSFileUtils)

-(void)jsUnzipToDir:(NSString*)dirPath
       onCompletion:(void (^)(NSDictionary *unzippedFiles))block;

@end
